package com.yky.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 项目年度报告
 * 
 * @author vimesly
 * 
 */

@SuppressWarnings("serial")
@Entity
@Table(name = "work_project_report")
public class ProjectReport implements Serializable {

	private Integer id;
	private String recordsDate; // 备案日期
	private String personRecruit; // 人员招募情况
	private String paperFilePath; // 论文发表情况
	private String annualReport; // 项目年度报告

	private Project project; // 所属项目

	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "records_date")
	public String getRecordsDate() {
		return recordsDate;
	}

	public void setRecordsDate(String recordsDate) {
		this.recordsDate = recordsDate;
	}

	@Column(name = "person_recruit")
	public String getPersonRecruit() {
		return personRecruit;
	}

	public void setPersonRecruit(String personRecruit) {
		this.personRecruit = personRecruit;
	}

	@Column(name = "paper_file_path")
	public String getPaperFilePath() {
		return paperFilePath;
	}

	public void setPaperFilePath(String paperFilePath) {
		this.paperFilePath = paperFilePath;
	}

	@Column(name = "annual_report")
	public String getAnnualReport() {
		return annualReport;
	}

	public void setAnnualReport(String annualReport) {
		this.annualReport = annualReport;
	}

	@ManyToOne
	@JoinColumn(name = "project_id")
	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

}
